from Base import Base
from selenium.webdriver.common.by import By
class Page(Base):
    user=(By.XPATH,'/html/body/div[1]/div/section/section/main/div[1]/div[2]/div[1]/div/input')
    def username(self,yhm):
        self.send_keys(self.user,yhm)
    pwd=(By.XPATH,'/html/body/div[1]/div/section/section/main/div[1]/div[2]/div[2]/div/input')
    def password(self,mm):
        self.send_keys(self.pwd,mm)
    btn=(By.XPATH,'/html/body/div[1]/div/section/section/main/div[1]/div[2]/button[2]')
    def login_btn(self):
        self.click(self.btn)
    queren_loc=(By.XPATH,'/html/body/div[1]/div/section/section/main/div[2]/div/div/div/div[2]/button[2]')
    def queren(self):
        self.click(self.queren_loc)
